package com.wrench.elevator.base.user.domain;

/**
 * @Description: 钱包
 * @author yangchenfeng
 * @date Oct 13, 2017 10:38:54 AM
 * @version V1.0
 */
public class Wallet
{
    /**
     * 钱包id
     * */
    private int wallet_id;
    
    /**
     * 用户id
     * */
    private int user_id;
    
    /**
     * 余额
     * */
    private double balance;
    
    public int getWallet_id()
    {
        return wallet_id;
    }
    
    public void setWallet_id(int wallet_id)
    {
        this.wallet_id = wallet_id;
    }
    
    public int getUser_id()
    {
        return user_id;
    }
    
    public void setUser_id(int user_id)
    {
        this.user_id = user_id;
    }
    
    public double getBalance()
    {
        return balance;
    }
    
    public void setBalance(double balance)
    {
        this.balance = balance;
    }
    
    public Wallet(int wallet_id, int user_id, double balance)
    {
        super();
        this.wallet_id = wallet_id;
        this.user_id = user_id;
        this.balance = balance;
    }
    
    public Wallet()
    {
        super();
        // TODO Auto-generated constructor stub
    }
    
    @Override
    public String toString()
    {
        return "Wallet [wallet_id=" + wallet_id + ", user_id=" + user_id + ", balance=" + balance + "]";
    }
    
}
